<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>品牌列表</title>
<hdjs/>
</head>
<body>
	<div class="wrap">
		<div class="menu_list">
			<ul>
				<li><a href="{|U:'add'}">添加品牌</a></li>
				<li><a href="{|U:'update'}">更新缓存</a></li>
			</ul>
		</div>
		<table class="table2">
			<thead>
				<tr>
					<td>ID</td>
					<td>品牌名称</td>
					<td>品牌logo</td>
					<td class="w200" align="center">品牌排序</td>
					<td class="w200">操作</td>
				</tr>
			</thead>
			<tbody>
		<list from="$brand" name="$b">
			<form action="" method="post">
			<tr>
				<td>{$b.brand_id}</td>
				<td>{$b.brand_name}</td>
				<td><img src="__ROOT__/{$b.brand_logo}" style=""></td>
				<td  align="center"><span class="down">一</span><input type="text" name="brand_order" bid="{$b.brand_id}" value="{$b.brand_order}" class="w50" maxlength="5" style="text-align:center;" /><span class="up">十</span></td>
				<td>
					<a href="{|U:'edit',array('brand_id'=>$b['brand_id'])}">编辑</a> |
					<a href="{|U:'del',array('brand_id'=>$b['brand_id'])}" onclick="return confirm('确定删除吗？')">删除</a>
				</td>
			</tr>
			</form>
		</list>
			</tbody>
		</table>
	</div>
	<css file="__CONTROLLER_VIEW__/css/index.css"/>
	<js file="__CONTROLLER_VIEW__/js/index.js"/>
</body>
</html>